#ifndef _INIT_CONFIG
#define _INIT_CONFIG

#include "send_command.hpp"
#include <cstdlib>
#include <cstdio>
#include <cstring>

#define NB_INSTRUCTION 5
#define FILE_CONFIG "config/config_bot.cfg"
#define PORT_COM 44444

class Init_Config
{
  Send_Command* send_cmd;
  string name;

public:
  Init_Config();

  Send_Command get_cmd();
  string get_name();
  static unsigned int convert_to_unsigned_int(string s);
  static void verif_key(string key,string information,bool verif_tab[],string tab_information[],string tab_key[]);

  ~Init_Config();
  // TODO for check
  //  static void extract_information_config(string & port,string & rconpass,string file_config);
};

#endif
